package com.example;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;

/**
 * @Author: linbd
 * @Description:
 * @Date: 2024/3/8 15:37
 */
public class Analysis {
    public static void main(String[] args) {
        List<String> sayings = Arrays.asList(new String[]{"哟", "会这样", "就这？", "不太行"});
        List<String> actions = Arrays.asList(new String[]{"头点点点","手指指指","眉头一皱"});
        List<String> all = new ArrayList<>();
        actions.forEach(action -> {
            sayings.forEach(saying -> {
                String s = String.format("君哥%s，说：“%s”馁", action, saying);
                all.add(s);
            });
        });
        int size = all.size();
        Random random = new Random();
        for (int i = 0; i < 20; i++) {
            int index = random.nextInt(size - 1);
            System.out.println("AI预测：" + all.get(index));
        }
    }
}
